package osgibusinesscomponent;

import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;
import osgibusinesscomponent.OSGiBusinessComponentMatch;
import osgibusinesscomponent.OSGiBusinessComponentMatcher;

/**
 * A pattern-specific matcher factory that can instantiate OSGiBusinessComponentMatcher in a type-safe way.
 * 
 * @see OSGiBusinessComponentMatcher
 * @see OSGiBusinessComponentMatch
 * 
 */
public class OSGiBusinessComponentMatcherFactory extends BaseGeneratedMatcherFactory<OSGiBusinessComponentMatch,OSGiBusinessComponentMatcher> {
  @Override
  protected OSGiBusinessComponentMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new OSGiBusinessComponentMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "OSGiBusinessComponent";
    
  }
}
